package com.cmccgz.udacs_landlord_webapp.update;

public class AppInfoBean {
	private int retcode; // 返回状态码
	private String retmessage;// 状态描述
	private int ifUpdate;// 是否有版本更新 0：无 1：有
	private String appId;
	private String type;// 0：底座；1：Native应用；2：WAP应用；3：Hybrid应用
	private String title;
	private String icon;// 图标下载地址，目前仅支持HTTP
	private String version; // 应用版本号，格式为递增整数，用于程序比较版本比较是否升级
	private String versionName;// 用于在升级提示文本框中显示给用户
	private int mustUpdate;// 0不强制升级，1为强制升级版本

	private String url;
	private String desc;// 版本信息描述
	private String category;
	private boolean isNeedToken;// 01是否需要令牌

	public int getRetcode() {
		return retcode;
	}

	public void setRetcode(int retcode) {
		this.retcode = retcode;
	}

	public String getRetmessage() {
		return retmessage;
	}

	public void setRetmessage(String retmessage) {
		this.retmessage = retmessage;
	}

	public int getIfUpdate() {
		return ifUpdate;
	}

	public void setIfUpdate(int ifUpdate) {
		this.ifUpdate = ifUpdate;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getVersionName() {
		return versionName;
	}

	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public boolean isNeedToken() {
		return isNeedToken;
	}

	public void setNeedToken(boolean isNeedToken) {
		this.isNeedToken = isNeedToken;
	}

	public int getMustUpdate() {
		return mustUpdate;
	}

	public void setMustUpdate(int mustUpdate) {
		this.mustUpdate = mustUpdate;
	}
}
